package com.seezoon.infrastructure.rpc.jt808.dto;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class JtResponse<T> {

    private int code;
    private String msg;
    private T data;

    public boolean isSuccess() {
        return code == 0;
    }
}
